﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace Transformer.iHunter
{
    /// <summary>
    /// The argument of the event associated to a folder
    /// </summary>
    public class FolderEventArgs : EventArgs
    {
        private IFolder folder;


        /// <summary>
        /// Gets the folder.
        /// </summary>
        /// <value>The folder.</value>
        public IFolder Folder
        {
            get { return folder; }
        }


        /// <summary>
        /// Initializes a new instance of the <see cref="FolderEventArgs"/> class.
        /// </summary>
        /// <param name="folder">The folder.</param>
        public FolderEventArgs(IFolder folder)
        {
            this.folder = folder;
        }
    }


    public delegate void FolderEventHandler(object sender, FolderEventArgs e);

}